/************************************************
 * Copyright (c) 2007 ~ 2009, 
 * All rights reserved.
 * Version   : 1.0
 * Author    : lengsh@alibaba-inc.com 
 * Date      : 2007.12.6
 ***********************************************/

#ifndef _GONGFU_PANDA_HTTPHANDLER_H_
#define _GONGFU_PANDA_HTTPHANDLER_H_

#include <memory>
#include <vector>
#include <string>
#include <map>
#include "Defines.h"
#include "Handler.h"

using namespace std;
class HttpHandler : public Handler
{
        protected:
               unsigned long m_num;
	public:
		HttpHandler():m_num(0) {  }
		virtual ~HttpHandler(){}
	public:
		virtual int ReadProcess(conn *c) ;
		virtual int WriteProcess(conn *c);

};
#endif //_GONGFU_PANDA_HTTPHANDLER_H_

